//
//  Bud.m
//  SSE
//
//  Created by Matt Roman on 11/7/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import "Bud.h"


@implementation Bud

- (id) initBudGoToID:(int)num
{
	[super init];
	ObjID = num;
	return self;
}

- (void) setIndex:(int)dex
{
	Index = dex;
}

- (void) setDist:(double)d;
{
	distance = d;
}

- (double) getDist
{
	return distance;
}

- (int) getIndex
{
	return Index;
}

- (int) getID
{
	return ObjID;
}

- (void) setID:(int)num
{
	ObjID = num;
}

@end
